From: emellor@ewan Date: Wed, 21 Sep 2005 10:31:55 +0000 (+0100) Subject: Remove unused DEBUG variable, and -d flag. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16780^2~18 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0c41a8f422d3bf9a0f9a569938330dcbe5d534cb;p=xen.git Remove unused DEBUG variable, and -d flag. Signed-off-by: Ewan Mellor --- diff --git a/tools/python/xen/xend/XendClient.py b/tools/python/xen/xend/XendClient.py index 0a46c0b5f5..4a78e8ab27 100644 --- a/tools/python/xen/xend/XendClient.py +++ b/tools/python/xen/xend/XendClient.py @@ -33,8 +33,6 @@ from XendProtocol import HttpXendClientProtocol, \ UnixXendClientProtocol, \ XendError -DEBUG = 0 - def fileof(val): """Converter for passing configs or other 'large' data. Handles lists, files directly. @@ -385,7 +383,6 @@ python XendClient.py domains python XendClient.py domain 0 (domain (id 0) (name Domain-0) (memory 128)) """ - global DEBUG from getopt import getopt short_options = 'x:au:d' long_options = ['xend=', 'unix=', 'debug'] @@ -397,8 +394,6 @@ python XendClient.py domain 0 srv = v elif k in ['-u', '--unix']: unix = int(v) - elif k in ['-d', '--debug']: - DEBUG = 1 if len(args): fn = args[0] args = args[1:]